package com.yuanduo_app.db.waterdb

import androidx.room.*
import com.yuanduo_app.db.waterdb.WaterData

/**
 * versions:
 * coding by pmj on 2021/8/9
 * desc:
 */
@Dao
interface WaterDao {

    @Query("SELECT * FROM WaterData")
    fun getAll():List<WaterData>

    @Insert
    fun insertWater(info:WaterData):Long

    @Delete
    fun deleteWater(info:WaterData)


}